#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
int main()
{
	int a = 0, b = 0, c = 0,ret = 0;
	scanf("%d%d%d", &a, &b, &c);
	if (a > b)
	{
		ret = a;
		a = b;
		b = ret;
	}
	if (a > c)
	{
		ret = a;
		a = c;
		c = ret;
	}
	if(b>c)
	{
		ret = b;
		b = c;
		c = ret;
	}
	printf("%d %d %d", a, b, c);
	return 0;
}